<?php
    // using Yii::app()->params->hangve['post']
    return array(
        'admin' => array(
            'name'      => 'Đào Mạnh Hải',
            'ym'        => 'manhhainet',
            'skype'     => 'manhhainet',
            'phone'     => '0989.030.623',
            'email'     => 'manhhaiphp@gmail.com',
            'website'   => array(
                'name'      => 'WebPro', 
                'url'       => 'webpro.hehe.vn', 
                'title'     => 'Thiết kế website chuyên nghiệp', 
            ),
        ),
        'mail' => array(
            'server' => array(
                'host'  => 'smtp.gmail.com',//ssl://smtp.gmail.com
                'port'  => 465,
                'username'  => 'hangvedotvn@gmail.com',
                'password'  => 'minminmin',
            ),            
            'sender' => array(
                'email' => 'hangvedotvn@gmail.com',
                'name' => 'Hangve.vn',
            ),
            'receiver' => array(
                'email' => 'hangvedotvn@gmail.com',
                'name' => 'Hangve.vn',
            ),
        ),

        'captcha'      => array(
            'action' => array(
                //'class'=>'CCaptchaAction',
                'class'=>'CaptchaExtendedAction',
                //'mode'=>CaptchaExtendedAction::MODE_DEFAULT,

                'testLimit'=>0, // how many times should the same CAPTCHA be displayed. Defaults to 3. A value less than or equal to 0 means the test is unlimited
                'backColor'=>0xFFFFFF,
                'foreColor'=>0x477fdc,
                'minLength'=>3,
                'maxLength'=>3,    
                'width' => '50',
                'height' => '30',
                'padding'   => 2, // padding around the text
                'density' => 2, // dots density 0 - 100%
                'mode' => 'default', // Captcha mode, supported values are [logical, words, mathverbal, math, default]
                'lines' => 2, // The number of lines drawn through the generated captcha picture
                'fillSections' => 5, //The number of sections to be filled with random flood color
            ),
            'view' => array(
                'imageOptions'=>array(
                    'alt' => 'Captcha',
                    'title' => 'Click để lấy mã mới',
                    'class' => 'captcha_img img-thumbnail',
                ),
                'clickableImage'   => true,
                'buttonType'       => 'link',  // button or link
                'buttonLabel'      => '<i class="fa fa-refresh"></i> Lấy mã mới',
                'buttonOptions'    => array(
                    'title' => 'Lấy mã mới',
                    'class' => 'btn btn-default btn-small captcha_refresh',
                ),
            )
        ),

        'fb' => array( // manhhainet@yahoo.com
            'appId' => '427474847351210',
            'secret' => '5f84a97f1427f503c593a66d15a31999',
            'fileUpload' => true,
            'trustForwarded' => false,
        ),
        'google' => array( // manhhainet@yahoo.com
            'clientId' => '381035255238-8j3lvv5regtdia9ck2qcdg40chr313tj.apps.googleusercontent.com',
            'clientSecret' => '0KHkgdlO9lknKq3bKy2n-Y63',
            'apiKey' => array(
                'AIzaSyDFX7dbX23rogoEthSzv1ThecWJwHYyv3g',
            ),
        ),
        
        

    );
